package com.qf.pojo;



public class TbCart implements CheckNull {

  private long id;
  private long pid;
  private long num=1;
  private TbGoods goodsList;

  public TbGoods getGoodsList() {
    return goodsList;
  }

  public void setGoodsList(TbGoods goodsList) {
    this.goodsList = goodsList;
  }

  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }


  public long getPid() {
    return pid;
  }

  public void setPid(long pid) {
    this.pid = pid;
  }


  public long getNum() {
    return num;
  }

  public void setNum(long num) {
    this.num = num;
  }

  @Override
  public String toString() {
    return "TbCart{" +
            "id=" + id +
            ", pid=" + pid +
            ", num=" + num +
            ", goodsList=" + goodsList +
            '}';
  }

  @Override
  public boolean isEmpty() {
    return false;
  }
}
